package com.canaan.business.domain.basic;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;

import java.util.List;

/**
 * WMS 容器绑定条码对象 wms_container_barcode
 *
 * @author ruoyi
 * @date 2023-08-01
 */
@ApiModel(description = "wms_container_barcode")
@TableName("wms_container_barcode")
@Data
public class ContainerBarcode extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 容器编码 */
    @Excel(name = "容器编码")
    @ApiModelProperty("容器编码")
    private String containerNo;

    /** 容器编码或条码 */
    @ApiModelProperty("容器编码或条码")
    private String containerNoOrBarcode;

    /** 条码 */
    @Excel(name = "条码")
    @ApiModelProperty("条码")
    private String barcode;

    /** 条码 */
    @ApiModelProperty("条码")
    private List<String> barcodeList;


    /** 是否删除：1是 0否 */
    @ApiModelProperty("条码")
    private String delFlag;

    /** 容器类型 */
    @ApiModelProperty("容器类型")
    private String containerType;

    /** 容器状态 */
    @ApiModelProperty("容器状态")
    private String status;

    /** 物料名称 */
    @ApiModelProperty("物料名称")
    private String productName;

    /** 物料编码 */
    @ApiModelProperty("物料编码")
    private String productNo;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Integer sort;


    public String getContainerType() {
        return containerType;
    }

    public void setContainerType(String containerType) {
        this.containerType = containerType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getContainerNoOrBarcode() {
        return containerNoOrBarcode;
    }

    public void setContainerNoOrBarcode(String containerNoOrBarcode) {
        this.containerNoOrBarcode = containerNoOrBarcode;
    }

    public List<String> getBarcodeList() {
        return barcodeList;
    }

    public void setBarcodeList(List<String> barcodeList) {
        this.barcodeList = barcodeList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setContainerNo(String containerNo)
    {
        this.containerNo = containerNo;
    }

    public String getContainerNo()
    {
        return containerNo;
    }
    public void setBarcode(String barcode)
    {
        this.barcode = barcode;
    }

    public String getBarcode()
    {
        return barcode;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("containerNo", getContainerNo())
            .append("barcode", getBarcode())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("sort", getSort())
            .toString();
    }
}
